import request from '@/utils/request'

export function create(data) {
  return request({
    url: '/api/v1/EvaluationItem/Create',
    method: 'post',
    data
  })
}

export function deleteRecord(data) {
  return request({
    url: '/api/v1/EvaluationItem/Delete',
    method: 'delete',
    data
  })
}

export function update(data) {
  return request({
    url: '/api/v1/EvaluationItem/Update',
    method: 'post',
    data
  })
}

export function getList(data) {
  return request({
    url: '/api/v1/EvaluationItem/GetList',
    method: 'get',
    params: data
  })
}

export function getData(data) {
  return request({
    url: '/api/v1/EvaluationItem/Get',
    method: 'get',
    params: data
  })
}
